projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc5d8da
)
gtkaboutdialog: Use symbolic names for button numbers
author
Carlos Garcia Campos
<cgarcia@igalia.com>
Wed, 25 Jan 2012 17:15:01 +0000
(18:15 +0100)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Fri, 27 Jan 2012 08:47:42 +0000
(09:47 +0100)
gtk/gtkaboutdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkaboutdialog.c
b/gtk/gtkaboutdialog.c
index a4cc9c33adb6097d922f32880eca9a32f45d54ed..c72f1abf590c46ac40c0f3c3521f162eabbcecf2 100644
(file)
--- a/
gtk/gtkaboutdialog.c
+++ b/
gtk/gtkaboutdialog.c
@@
-1965,7
+1965,7
@@
text_view_event_after (GtkWidget *text_view,
button_event = (GdkEventButton *)event;
- if (button_event->button !=
1
)
+ if (button_event->button !=
GDK_BUTTON_PRIMARY
)
return FALSE;
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));